package com.wtwd.campus.utils.Vizhi.entity;

public class Position {

    private long timestamp;

    private Point point;

    private String spatialReference;

    private String source;

    private float confidence;

    private float accuracy;


    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public Point getPoint() {
        return point;
    }

    public void setPoint(Point point) {
        this.point = point;
    }

    public String getSpatialReference() {
        return spatialReference;
    }

    public void setSpatialReference(String spatialReference) {
        this.spatialReference = spatialReference;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public float getConfidence() {
        return confidence;
    }

    public void setConfidence(float confidence) {
        this.confidence = confidence;
    }

    public float getAccuracy() {
        return accuracy;
    }

    public void setAccuracy(float accuracy) {
        this.accuracy = accuracy;
    }

    @Override
    public String toString() {
        return "Position{" +
                "timestamp=" + timestamp +
                ", point=" + point +
                ", spatialReference='" + spatialReference + '\'' +
                ", source='" + source + '\'' +
                ", confidence=" + confidence +
                ", accuracy=" + accuracy +
                '}';
    }
}
